package com.aaa.config;

import com.aaa.rule.MyRule;
import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ：Mickey
 * @date ：Created in 2022/11/19 14:56
 * @description：
 * @modified By：
 * @version:
 */
@Configuration
public class RuleConfig {
    @Bean
    public IRule iRule(){
        return new MyRule();
    }
}
